<ul class="layui-tab-title">
  <li onclick="location.href = $(this).data('src')" data-src="{:url('Post/my')}" class="tab-item-my">我发的帖（<span>{$list_my_post_count}</span>）</li>
  <li onclick="location.href = $(this).data('src')" data-src="{:url('Post/my',['target'=>'collect'])}" class="tab-item-collect">我收藏的帖（<span>{$list_collect_post_count}</span>）</li>
</ul>